package com.woniuxy.shop.entity;
/**
*@author 作者：
*version 创建时间：
*类说明：商品实体类
*/
public class Goods {
	private int id;
	private String name;
	private int categoryid;
	private String description;
	private String image;
	private double marketprice;
	private double saleprice;
	private double score;
	private int stock;
	private String status;
	
	private String cname;//类别名称
	private int minstock;
	private int maxstock;
	private String newGoods;
	private String hotGoods;
	public String getNewGoods() {
		return newGoods;
	}
	public void setNewGoods(String newGoods) {
		this.newGoods = newGoods;
	}
	public String getHotGoods() {
		return hotGoods;
	}
	public void setHotGoods(String hotGoods) {
		this.hotGoods = hotGoods;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public int getMinstock() {
		return minstock;
	}
	public void setMinstock(int minstock) {
		this.minstock = minstock;
	}
	public int getMaxstock() {
		return maxstock;
	}
	public void setMaxstock(int maxstock) {
		this.maxstock = maxstock;
	}
	private double maxprice;
	private double minprice;
	
	
	public double getMaxprice() {
		return maxprice;
	}
	public void setMaxprice(double maxprice) {
		this.maxprice = maxprice;
	}
	public double getMinprice() {
		return minprice;
	}
	public void setMinprice(double minprice) {
		this.minprice = minprice;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getCategoryid() {
		return categoryid;
	}
	public void setCategoryid(int categoryid) {
		this.categoryid = categoryid;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public double getMarketprice() {
		return marketprice;
	}
	public void setMarketprice(double marketprice) {
		this.marketprice = marketprice;
	}
	public double getSaleprice() {
		return saleprice;
	}
	public void setSaleprice(double saleprice) {
		this.saleprice = saleprice;
	}
	public double getScore() {
		return score;
	}
	public void setScore(double score) {
		this.score = score;
	}
	public int getStock() {
		return stock;
	}
	public void setStock(int stock) {
		this.stock = stock;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	@Override
	public String toString() {
		return "Goods [id=" + id + ", name=" + name + ", categoryid=" + categoryid + ", description=" + description
				+ ", image=" + image + ", marketprice=" + marketprice + ", saleprice=" + saleprice + ", score=" + score
				+ ", stock=" + stock + ", status=" + status + "]";
	}
	
	
	
}
